import { request } from "@/request/axios"
export default {
    getAll(params) {
        return request({
            url: "/api/services/app/User/GetAll",
            method: 'get',
            params: params
        })
    },
    Get(params) {
        return request({
            url: "/api/services/app/User/Get",
            method: 'get',
            params: params
        })
    },
    Create(data) {
        return request({
            url: "/api/services/app/User/Create",
            method: 'post',
            data: data
        })
    },
    Update(data) {
        return request({
            url: "/api/services/app/User/Update",
            method: 'put',
            data: data
        })
    },
    Delete(data) {
        return request({
            url: "/api/services/app/User/Delete",
            method: 'delete',
            params: data
        })
    }
}